package com.gaoyubo.dao;

import com.gaoyubo.entity.Goods;
import com.gaoyubo.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsDao {

    List<Goods> getList(GoodsVo goodsVo);

    List<Goods> getListById(Integer id);

    boolean save(Goods goods);

    boolean up(Goods goods);

    Goods getUpById(Integer id);

    boolean delete(Integer id);
}
